public with sharing class AccountInfo {

   public Account account{get;set;}
    
    public string AccId{get;set;}
    
    public  AccountInfo(){
       
     
      account  = [Select name,OwnerId,AnnualRevenue,NumberOfEmployees from Account where id='0019000000QmpDvAAJ'];
       
    
    }
    
    /**
    public account getAccount(){
     
     account  = [Select name,OwnerId,AnnualRevenue,NumberOfEmployees from Account where id=:AccId];
     
     return account;
    }
    **/
    
}